package rl.educational.workbook.esempi;

import java.util.ArrayList;

import rl.educational.workbook.esempi.model.B010;

public class Main {

	public static void main(String[] args) throws Exception {

		ArrayList<B010> lista = new ArrayList<B010>();

		lista.add(new B010() );
		lista.add(new B010() );
		
		ProtocolloExcelWorkbook protocolloExcelWorkbook = new ProtocolloExcelWorkbook();

		protocolloExcelWorkbook.open(
				"file/output", 
				"prova.xlsx", 
				"Protocolli stampati",
				"Protocolli non stampati");

		
		protocolloExcelWorkbook.fillProtocolliStampati("Protocolli stampati", lista );
		
		protocolloExcelWorkbook.fillProtocolliNonStampati("Protocolli non stampati", lista );
		
		protocolloExcelWorkbook.close(); 

	}

}
